package com.gitee.liuzhi.framework.starter.swagger.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by 2022/5/9/0009
 *
 * @author LiuZhi
 * @version V1.0
 * @description: SwaggerProperties
 */
@Data
@ToString
@ConfigurationProperties("lz.framework.swagger")
public class SwaggerProperties {

    /**
     * 是否开启swagger, 生产环境一般关闭, 所以这里定义一个变量
     */
    private Boolean enable;

    /**
     * 项目应用名
     */
    private String applicationName;

    /**
     * 项目版本信息
     */
    private String applicationVersion;

    /**
     * 项目描述信息
     */
    private String applicationDescription;

    /**
     * 接口调试地址
     */
    private String tryHost;

    /**
     * 扫描 Controller 包路径, 如：com.lz.code.controller
     */
    private String basePackage;

    /**
     * swagger base path
     */
    private String basePath = "/";

    /**
     * 联系姓名
     */
    private String contactName = "LiuZhi";

    /**
     * 联系网页
     */
    private String contactUrl = "https://gitee.com/liuzhi12138";

    /**
     * 联系邮箱
     */
    private String contactEmail = "lz290528736@163.com";

}
